package com.domain.service;

import com.aliyuncs.exceptions.ClientException;
import com.domain.common.Result;

import java.io.IOException;

public interface ContactsService {

    Result synchronizationContacts(String userId, String jsonStr) throws IOException;

    Result getContactsList(String userId, String phoneNum, String name, String pageNum, String pageSize);

    Result getNewFriendsRequestList(String userId, String pageNum, String pageSize);

    Result agreeAddFriends(String uafId, String userId, String friendsId);

    Result joinAppSendMesssage(String userId, String phoneNum) throws ClientException;

    Result deleteAddFriends(String uafId);
}
